package com.colin.app.activity.other;

import android.view.MotionEvent;
import android.view.View;
import android.widget.TextView;

import com.colin.app.bean.ItemBean;
import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.util.List;

/**
 * Created by Colin on 2017/2/7.
 */

public interface OtherContract {

    interface OtherView extends BaseView {

    }

    interface OtherPresenter extends BasePresenter {

        void getBuildMessage(TextView text_build_message);

        void touchView(View view, MotionEvent event);

        void setViewData(View view_touch_me, TextView textView);

        void alertAngle();

        void alertRadian();

        void actionAccessibility();

        void accessibilityInstall();

        void accessibilityUnInstall();

        void accessibilityKillApp();

        List<ItemBean> listGetItemData(boolean isRefresh);
    }

    interface OtherModel extends BaseModel {
        int getPage();

        List<ItemBean> getItemBeanList(int page);
    }
}
